package org.desktop.web.server.bean;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonProperty;


/**
 * Divide il giorno lavorativo in 2 parti (prima della pausa pranzo e dopo)
 * @author edoardo
 *
 */
@JsonAutoDetect(fieldVisibility=Visibility.ANY)
public class WorkingDay {

	@JsonProperty("records")
	private List<Timer> records=new ArrayList<Timer>();

	public List<Timer> getRecords() {
		return records;
	}

	public void setRecords(List<Timer> records) {
		this.records = records;
	}
	
	public void addRecord(Timer timer){
		this.records.add(timer);
	}
	
	
	
}
